package com.lan.service.sys;

import com.lan.entity.sys.User;
import com.lan.enums.sys.user.ResultEnum;

import java.util.List;

/**
 * <p>
 *  用户 Service
 * </p>
 *
 * @author shadow
 * @since 2022-06-04
 */
public interface UserService {

    User getById(String id);

    List<User> getListByWrapper(final User user);

    List<User> getListBySQL(final String type, final User user);

    User getUserByAccount(final String account);



    Integer getCountByWrapper(final User user);

    /* 假删除 */
    ResultEnum deleteByStatus(final String id);
    /* 真删除 */
    int deleteById(final String id);
}
